public class Names
{
   /**
      Gets the initials of a name.
      @param first the first name of this name
      @param middle the middle name of this name
      @param last the last name of this name
      @return a string consisting of the first character of the first, middle,
      and last name
   */
   public  String initials(String first, String middle, String last)
   {
      String ans="";
      ans+=first.charAt(0);
      ans+=middle.charAt(0);
      ans+=last.charAt(0);
      return ans;
   }
}